-
Home
-
If-So Dynamic Content Personalization
-
1.6.1
-
Code
-
Classes
- GeolocationService
| Total Complexity |
92 |
| Dependencies |
6 |
| Dependents |
5 |
| Total lines |
313 |
| Lines of code |
255 |
| Logical lines of code |
170 |
| Comment lines |
14 |
| Methods |
17 |
| Properties |
3 |
Methods 17
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| notifications_email() |
B |
40 |
24 |
48 |
| send_session_to_localdb() |
A |
41 |
15 |
50 |
| get_location_by_ip() |
A |
50 |
12 |
24 |
| get_user_ip() |
S |
55 |
6 |
19 |
| get_cached_geo_data() |
S |
59 |
6 |
13 |
| get_user_location() |
S |
61 |
4 |
12 |
| get_localdb_notification_data() |
S |
61 |
3 |
12 |
| can_send_notification() |
S |
63 |
3 |
11 |
| cache_geo_data() |
S |
58 |
2 |
15 |
| reset_email_triggers() |
S |
68 |
3 |
6 |
| log_geo_request() |
S |
71 |
3 |
5 |
| get_instance() |
S |
73 |
2 |
5 |
| get_geo_data() |
S |
62 |
2 |
10 |
| get_status() |
S |
63 |
2 |
10 |
| str_contains() |
S |
71 |
2 |
6 |
| add_value_to_option() |
S |
72 |
2 |
5 |
| __construct() |
S |
76 |
1 |
4 |